Performance
This page explains the relative time and relay-cost model for Euclid integration patterns.
The T Model
To compare different execution paths clearly, define:
T: the cost of one cross-chain packet
T is a compact unit that represents both:
- relay time
- relay cost
What A Cycle Means
One cycle is defined as 2T, meaning at least two cross-chain packet events are required to complete that stage of the flow.
So:
1 cycle = 2T2 cycles = 4T
This gives a simple way to compare native-token flows, voucher flows, and meta-transaction flows.
Performance By Interaction Type
How To Read The Table
When a row uses >=, the final cost depends on how many destination chains the output is being released to. Releasing value to more chains means more settlement work and more relay packets, which pushes the total above the baseline minimum.
Native -> Native
This is the traditional cross-chain path. Because real assets need to move and settle across chains, it requires at least two full cycles. It is generally the slowest and most relay-heavy option.
Voucher -> Native
This is a redemption flow. Even though value is already represented internally, the system still needs to release a real asset on-chain, so the cycle profile remains relatively heavy.
Native -> Voucher
This is the entry path into Euclid's voucher system. The user deposits native assets and receives voucher balance. It takes one cycle and is materially faster than full native-to-native movement.
Voucher -> Voucher
This is where the architecture becomes powerful. Since value stays inside the internal settlement system, only one cycle is required in the baseline model.
MetaTx Voucher -> Native
This still ends in a real native payout, so some real settlement remains necessary. The user experience improves because the user signs an intent while a relayer handles execution.
MetaTx Voucher -> Voucher
This is the fastest path. Execution stays fully within the voucher layer and is submitted through relayer infrastructure, so the user experiences a near-immediate and gasless interaction.
Practical Performance Summary
Rules Of Thumb
- If real native assets must leave or enter the system, expect more relay cost and more waiting.
- If value can stay inside the voucher layer, the flow becomes much faster.
- Meta-transactions improve user experience most when combined with voucher-layer execution.
- The biggest UX gain comes from keeping repeated actions inside the voucher layer for as long as possible.